import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@/styles/common.less' // 公共样式
import './assets/iconfont/iconfont.css' // iconfont
import VueLazyLoad from 'vue-lazyload'
import { Image as VanImage } from 'vant'
import { Cell, CellGroup, Row, Col, NavBar, Dialog, Loading } from 'vant'

import axios from 'axios'
Vue.prototype.$http = axios
window.HAS_TIPS = false // 设置一个全局变量，用于处理扫码进首页重复判断“您已绑定**门店”

Vue.config.productionTip = false
Vue.use(VueLazyLoad)
Vue.use(VanImage)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Row)
Vue.use(Col)
Vue.use(NavBar)
Vue.use(Dialog)
Vue.use(Loading)

new Vue({
  router,
  render: (h) => h(App)
}).$mount('#app')
